package com.smart.admin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 品牌信息表
 */
@ApiModel(value = "品牌信息表")
@Data
@TableName(value = "brand")
public class Brand {
    /**
     * 品牌ID
     */
    @TableId(value = "brand_id", type = IdType.AUTO)
    @ApiModelProperty(value = "品牌ID")
    private Long brandId;

    /**
     * 品牌名称
     */
    @TableField(value = "brand_name")
    @ApiModelProperty(value = "品牌名称")
    private String brandName;

    /**
     * 联系电话
     */
    @TableField(value = "phone")
    @ApiModelProperty(value = "联系电话")
    private String phone;

    /**
     * 品牌网络
     */
    @TableField(value = "brand_web")
    @ApiModelProperty(value = "品牌网络")
    private String brandWeb;

    /**
     * 品牌logo URL
     */
    @TableField(value = "brand_logo")
    @ApiModelProperty(value = "品牌logo URL")
    private String brandLogo;

    /**
     * 品牌描述
     */
    @TableField(value = "brand_desc")
    @ApiModelProperty(value = "品牌描述")
    private String brandDesc;

    /**
     * 品牌状态,0禁用,1启用
     */
    @TableField(value = "brand_status")
    @ApiModelProperty(value = "品牌状态,0禁用,1启用")
    private Byte brandStatus;

    /**
     * 排序
     */
    @TableField(value = "brand_order")
    @ApiModelProperty(value = "排序")
    private Byte brandOrder;

    /**
     * 最后修改时间
     */
    @TableField(value = "modified_time")
    @ApiModelProperty(value = "最后修改时间")
    private Date modifiedTime;

    /**
     * 1 国内平台  2 国外品牌  3 自有品牌
     */
    @TableField(value = "brand_type")
    @ApiModelProperty(value = "1 国内平台  2 国外品牌  3 自有品牌")
    private Integer brandType;

    /**
     * 品牌所属企业
     */
    @TableField(value = "brand_company")
    @ApiModelProperty(value = "品牌所属企业")
    private String brandCompany;

    public static final String COL_BRAND_ID = "brand_id";

    public static final String COL_BRAND_NAME = "brand_name";

    public static final String COL_PHONE = "phone";

    public static final String COL_BRAND_WEB = "brand_web";

    public static final String COL_BRAND_LOGO = "brand_logo";

    public static final String COL_BRAND_DESC = "brand_desc";

    public static final String COL_BRAND_STATUS = "brand_status";

    public static final String COL_BRAND_ORDER = "brand_order";

    public static final String COL_MODIFIED_TIME = "modified_time";

    public static final String COL_BRAND_TYPE = "brand_type";

    public static final String COL_BRAND_COMPANY = "brand_company";
}